package com.example.dojaneelsfk;

import com.badlogic.gdx.backends.android.AndroidApplication;


import android.os.Bundle;

import android.view.Window;
import android.view.WindowManager;

public class MainActivity extends AndroidApplication {

	  TetrisGame tg;
	  UiScreen us;
	  GameScreen gs;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//setContentView(R.layout.activity_main);
		
		 requestWindowFeature(Window.FEATURE_NO_TITLE);
	        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
	                        WindowManager.LayoutParams.FLAG_FULLSCREEN);
	  //      gs=new GameScreen();
	        us=new UiScreen();
	        gs =new GameScreen();
	       tg=new TetrisGame(gs);
	      
	        initialize(tg, true);
	}

	
	
	
/*
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return true;
	}
*/
	
	
	
}
